<?php
if(!defined("ADMREAD")) exit();
global $sess,$lang,$ADMIN_ID,$CHECK_ADMIN;
$block = array();
if(in_array('amanage',$ADMIN_PERM_ARRAY) || in_array($ADMIN_ID,$CHECK_ADMIN['admid'])){
    $block['id'] = 'system';
    $block['title'] = $lang['menu_admin'];
    $block['link'] = array('amanage.php?dn=index&ops='.$sess['hash'] => $lang['personal_cabinet'],
    'amanage.php?dn=list&ops='.$sess['hash'] => $lang['list_admin'],
    'amanage.php?dn=add&ops='.$sess['hash'] => $lang['add_admin'],
    'javascript:$.filebrowser(\''.$sess['hash'].'\',\'\',\'/\')' => $lang['adm_f_browser']);
}
?>